﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace FileDownload
{
    class Program
    {
        //放弃项目
        //public static void Main(string[] args) {
        //    using (var host = new ServiceHost(typeof(Service1)))
        //    {
        //        //指定服务的终结点，分别指定Contract,Binding,Address
        //        host.AddServiceEndpoint(typeof(IService1), new BasicHttpBinding(), "http://localhost:8099/Server");
        //        host.Open();
        //        Console.WriteLine("服务启动成功");
        //        Console.Read();
        //    }
        //}
    }
}
